<div fwa-layout-container="" data-main="true" class="full-height full-width">
	<div fwa-layout-box="north" style="height: 20px;" >
				<div class="col-xs-4 control-label text-left">
						新增医院信息
					</div>
	</div>
	<div class="background-white" fwa-layout-box="center" padding="true">
		<div class="full-width full-height ">
			<div class="row" style="margin-top: 20px;">
				<div class="form-group col-xs-4" >
					<label class="col-xs-4 control-label text-right">
						<span class="red"> * </span>医疗机构名称:
					</label>
					<div class="col-xs-8">
						<input type="text" class="form-control" ng-blur="autoSearchInstitution($event)" required ng-model="institutionDetail.providerName" ng-maxlength="60" >
					</div>
				</div>
				<div class="form-group col-xs-4" >
					<label class="col-xs-4 control-label text-right">
					医院等级:
					</label>
					<div class="col-xs-8">
						 <select  class="form-control" name = "hospitalLev" required ng-model="institutionDetail.hospitalLevel"
                               ng-init="getDataByCodeType('{codeType:\'hosLevelType\'}')"
			                    ng-options="c.codeno as c.codename for c in communityService.dictionaryMap['hosLevelType']">
			                <option value="">---请选择---</option>
			            </select>
					</div>
				</div>
				<div class="form-group col-xs-4" style="line-height: 34px;">
					<label class="col-xs-4 control-label text-right">
					床位数:
					</label>
					<div class="col-xs-8">
					 <input class="form-control" name = "bednum"  required ng-model="institutionDetail.bednum" ng-pattern='/^([0-9]{0,12})$/'  type="text">
					 </div>
				</div>
			</div>
			<div class="row" style="margin-top: 20px;">
				<div class="form-group col-xs-4">
					<label class="col-xs-4 control-label text-right">
				卫生机构类别:
					</label>
					<div class="col-xs-8">
						  <select class="form-control" ng-model="institutionDetail.organizationType"
				                    ng-init="getDataByCodeType('{codeType:\'orgType\',orgTypeCode:\'0\'}')"
				                    ng-options="c.codeno as c.codename for c in communityService.dictionaryMap['orgType']">
				                <option value="">---请选择---</option>
				            </select>
					</div>
				</div>
				<div class="form-group col-xs-4">
					<label class="col-xs-4 control-label text-right">
					机构分类管理类型:
					</label>
					<div class="col-xs-8">
					<select class="form-control" name = "manageCode"  required ng-model="institutionDetail.manageCode"
         	                    ng-init="getDataByCodeType('{codeType:\'classificationType\'}')"
		                    ng-options="c.codeno as c.codename for c in dictionaryMap['classificationType']">
		                <option value="">---请选择---</option>
		         	 </select>
         	 	</div>
				</div>
				<div class="form-group col-xs-4">
					<label class="col-xs-4 control-label text-right">
					法人代表:
					</label>
					<div class="col-xs-8">
				<input name = "lealPerson" class="form-control" required ng-model="institutionDetail.lealPerson" ng-maxlength="30" type="text">
				</div>
				</div>
			</div>
			
			<div class="row" style="margin-top: 20px;">
				<div class="form-group col-xs-4">
					<label class="col-xs-4 control-label text-right">
			
					</label>
					<div class="col-xs-8">
					 <select class="form-control" ng-model="institutionDetail.orgtype2" dic="codeno|codename orgType"
			        dic-def-val="---请选择---" dic-affect="institutionDetail.orgtype1" dic-param="{codeNo:?,orgTypeCode:'1'}">
			        </select>
					</div>
				</div>
				<div class="form-group col-xs-4">
					<label class="col-xs-4 control-label text-right">
					成立时间:
					</label>
					<div class="col-xs-8">
						  <input class="form-control" name="regtime" ng-model="institutionDetail.dateRegtime" required type="text" date-time-picker>
					</div>
				</div>
				<div class="form-group col-xs-4">
					<label class="col-xs-4 control-label text-right">
					执业许可证:
					</label>
					<div class="col-xs-8">
						<input class="form-control" name = "license"   ng-model="institutionDetail.practiceLicense" type="text">
					</div>
				</div>
			</div>
			
			<div class="row" style="margin-top: 20px;">
				<div class="form-group col-xs-4">
					<label class="col-xs-4 control-label text-right">
		
					</label>
					<div class="col-xs-8">
						 <select name = "orgtype" class="form-control" required class="s1" ng-model="institutionDetail.orgtype" dic="codeno|codename orgType"
              				  dic-def-val="---请选择---" dic-affect="institutionDetail.orgtype2" dic-param="{codeNo:?,orgTypeCode:'2'}">
        				</select>
					</div>
				</div>
				<div class="form-group col-xs-4">
					<label class="col-xs-4 control-label text-right">
					组织机构代码:
					</label>
					<div class="col-xs-8">
							<input class="form-control" name = "orgcode"  ng-maxlength=22 required ng-model="institutionDetail.organizationCode" type="text">
					</div>
				</div>
				<div class="form-group col-xs-4">
					<label class="col-xs-4 control-label text-right">
					经济类型:
					</label>
					<div class="col-xs-8">
					 	<select class="form-control" name = "economicType"  required ng-model="institutionDetail.economicType"
			         	       ng-init="getDataByCodeType('{codeType:\'economicType\'}')"
			                    ng-options="c.codeno as c.codename for c in dictionaryMap['economicType']">
			                <option value="">---请选择---</option>
			         	 </select>
         	 	</div>
				</div>
			</div>
			
			<div class="row" style="margin-top: 20px;">
					<div class="form-group col-xs-4">
					<label class="col-xs-4 control-label text-right">
					医保负责人:
					</label>
					<div class="col-xs-8">
				<input name = "lealPerson" class="form-control" required ng-model="institutionDetail.insuranceCharger" ng-maxlength="30" type="text">
				</div>
				</div>
				<div class="form-group col-xs-4">
					<label class="col-xs-4 control-label text-right">
						医保负责人电话:
					</label>
					<div class="col-xs-8">
				<input name = "lealPerson" class="form-control" required ng-model="institutionDetail.chargerPhone" ng-maxlength="30" type="text">
				</div>
				</div>
				<div class="form-group col-xs-4">
					<label class="col-xs-4 control-label text-right">
					诊疗科目:
					</label>
					<div class="col-xs-8">
					<input name = "lealPerson" class="form-control" required ng-model="institutionDetail.clinicalSubjects" ng-maxlength="30" type="text">
					</div>
				</div>
			</div>
			
						<div class="row" style="margin-top: 20px;">
				<div class="form-group col-xs-4">
					<label class="col-xs-4 control-label text-right">
					医保联系人:
					</label>
					<div class="col-xs-8">
						  <input class="form-control" name="regtime" ng-model="institutionDetail.insuranceLinker" required type="text" date-time-picker>
					</div>
				</div>
				<div class="form-group col-xs-4">
					<label class="col-xs-4 control-label text-right">
					医保联系人电话:
					</label>
					<div class="col-xs-8">
						<input class="form-control" name = "license"   ng-model="institutionDetail.linkerPhone" type="text">
					</div>
				</div>
					<div class="form-group col-xs-4">
					<label class="col-xs-4 control-label text-right">
					注册资金:
					</label>
					<div class="col-xs-8">
						  <input class="form-control" name="regtime" ng-model="institutionDetail.registerFund" required type="text" date-time-picker>
					</div>
				</div>
			</div>
			
						<div class="row" style="margin-top: 20px;">
				<div class="form-group col-xs-4">
					<label class="col-xs-4 control-label text-right">
					执业有效期：
					</label>
					<div class="col-xs-8">
							<input class="form-control" name = "orgcode"  ng-maxlength=22 required ng-model="institutionDetail.orgcode" type="text">
					</div>
				</div>
					<div class="form-group col-xs-4">
					<label class="col-xs-4 control-label text-right">
					文件号:
					</label>
					<div class="col-xs-8">
							<input class="form-control" name = "orgcode"  ng-maxlength=22 required ng-model="institutionDetail.fileNo" type="text">
					</div>
				</div>
					<div class="form-group col-xs-4">
					<label class="col-xs-4 control-label text-right">
					定点类别:
					</label>
					<div class="col-xs-8">
							<input class="form-control" name = "orgcode"  ng-maxlength=22 required ng-model="institutionDetail.pointType" type="text">
					</div>
				</div>
			</div>
				
			<div class="row" style="margin-top: 20px;">
				<div class="form-group col-xs-4">
					<label class="col-xs-4 control-label text-right">
				开通业务:
					</label>
					<div class="col-xs-8">
						 	<input class="form-control" name="contact" ng-model="institutionDetail.openBusiness" ng-maxlength="30" type="text">
					</div>
				</div>
						<div class="form-group col-xs-4">
					<label class="col-xs-4 control-label text-right">
					所在区域:
					</label>
					<div class="col-xs-8">
						 <select  ng-model="institutionDetail.addressProvince"
				                    ng-init="getDataByCodeType('{codeType:\'region\',codeNo:\'-1\',regionType:\'1\'}')"
				                    ng-options="c.codeno as c.codename for c in dictionaryMap['region']">
				                <option value="">--省--</option>
				            </select>
				            <select  ng-model="institutionDetail.addressCity" dic="codeno|codename region"
				                    dic-def-val="市" dic-affect="institutionDetail.province" dic-param="{codeNo:?,regionType:'2'}">
				                      <option value="">--市--</option>
				            </select>
				            <select  ng-model="institutionDetail.addressCounty" dic="codeno|codename region"
				                    dic-def-val="区" dic-affect="institutionDetail.city" dic-param="{codeNo:?,regionType:'3'}">
				                      <option value="">--区--</option>
				            </select>
					</div>
				</div>
						<div class="form-group col-xs-4">
					<label class="col-xs-4 control-label text-right">
				邮政编码:
					</label>
					<div class="col-xs-8">
						 	<input class="form-control" name="contact" ng-model="institutionDetail.postcode" ng-maxlength="30" type="text">
					</div>
				</div>
			</div>
			
			<div class="row" style="margin-top: 20px;">
				<div class="form-group col-xs-12">
					<label style="width: 10.5%;float: left;" class="control-label text-right">
					详细地址:
					</label>
					<div style="width: 89.5%;float: left;padding:0px 3px 0px 5px;">
						<input class="form-control" ng-model="institutionDetail.fullAddress" ng-maxlength="50" type="text">
					</div>
				</div>
			</div>
			
			
						<div class="row" style="margin-top: 20px;">
				<div class="form-group col-xs-4">
					<label class="col-xs-4 control-label text-right">
				电子邮箱:
					</label>
					<div class="col-xs-8">
					<input class="form-control" name="email" ng-model="institutionDetail.email" ng-maxlength="40" type="text">
					</div>
				</div>
				<div class="form-group col-xs-4">
					<label class="col-xs-4 control-label text-right">
				网站域名:
					</label>
					<div class="col-xs-8">
							<input class="form-control" name="domain" ng-model="institutionDetail.domain" ng-maxlength="120" type="text">
					</div>
				</div>
				<div class="form-group col-xs-4">
					<label class="col-xs-4 control-label text-right">
				上下班时间:
					</label>
					<div class="col-xs-8">
						 	 <input class="form-control" name="time" ng-model="institutionDetail.time" maxlength="32" type="text">
					</div>
				</div>
			</div>
			
			
		 <div class="row">
		
				<div class="form-group col-xs-12" style="margin-top: 20px;">
					<label style="width: 10.5%;float: left;" class="control-label text-right">
				公交线路描述:
					</label>
				<div style="width: 89.5%;float: left;padding:0px 3px 0px 5px;">
						<textarea class="form-control" name="transit" ng-model="institutionDetail.transit" ng-maxlength="180"></textarea>
					</div>
				</div>
			</div>
			
				 <div class="row">
		
				<div class="col-xs-12" style="margin-top: 20px;">
				<div class="form-group col-xs-5">
				
				</div>
				<div class="form-group col-xs-2">
						<button type="button" id="extractButton"
									class="btn btn-blue btn-sm" ng-click="addProvider();">保存</button> 
					<button type="button" id="extractButton"
									class="btn btn-default btn-sm" ng-click="exportRules();">取消</button> 
			
				</div>
				<div class="form-group col-xs-5">
				
				</div>
				</div>
			</div>
		</div>
	</div>
	
</div>
					
